package light.mvc.model.wxn;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import light.mvc.model.base.IdEntity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@Table(name = "WXN_ANALYSIS_USER")
@DynamicInsert(true)
@DynamicUpdate(true)
public class AnalysisUserBO extends IdEntity implements java.io.Serializable {

	@Column(name = "USER_SOURCE")
	private Integer userSource; // 用户的渠道

	@Column(name = "NEW_USER")
	private Integer newUser; // 新增的用户数量

	@Column(name = "USER_SOURCE")
	private Integer cancelUser; // 取消关注的用户数量

	@Column(name = "WEI_NAME", length = 36, nullable = false)
	private String weiName; // 微信名称

	@Column(name = "APPID", length = 50, nullable = false)
	private String appid; //

	public String getWeiName() {
		return weiName;
	}

	public void setWeiName(String weiName) {
		this.weiName = weiName;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	@Column(name = "REF_DATE")
	private Date refDate; // 数据的日期

	@Column(name = "NOTE", length = 36, nullable = false)
	private String note; // 备注

	public Integer getUserSource() {
		return userSource;
	}

	public void setUserSource(Integer userSource) {
		this.userSource = userSource;
	}

	public Integer getNewUser() {
		return newUser;
	}

	public void setNewUser(Integer newUser) {
		this.newUser = newUser;
	}

	public Integer getCancelUser() {
		return cancelUser;
	}

	public void setCancelUser(Integer cancelUser) {
		this.cancelUser = cancelUser;
	}

	public Date getRefDate() {
		return refDate;
	}

	public void setRefDate(Date refDate) {
		this.refDate = refDate;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}
